﻿using System.ComponentModel;

namespace Edu.Entitys
{
    public enum JobType
    {
        [Description("营销经理")]
        YingXiaoJingLi = 0,
        [Description("项目总")]
        XiangMuZong,
    }

    public enum AbilityLevelType
    {
        [Description("入门")]
        RuMen = 0,
        [Description("进阶")]
        JinJie = 1,
        [Description("高阶")]
        GaoJie = 2,
        [Description("结业")]
        JieYe = 3,
    }


    public enum AbilityType
    {
        //营销经理
        [Description("销售能力")]
        XiaoShou = 0,
        [Description("策划能力")]
        CeHua = 1,
        [Description("市场研究")]
        ShiChang = 2,
        [Description("管理能力")]
        GuanLi = 3,
        [Description("资源整合")]
        ZiYuan = 4,

        //项目总
        [Description("团队人员")]
        TuanDuiRenYuan = 5,
        [Description("团队文化")]
        TuanDuiWenHua = 6,
        [Description("业务基础")]
        YeWuJiChu = 7,
        [Description("业务创新")]
        YeWuChuangXin = 8,
        [Description("资源对外")]
        ZiYuanDuiWai = 9,
        [Description("资源对内")]
        ZiYuanDuiNei = 10,
    }

    public enum StudentStatus
    {
        /// <summary>
        /// 未出师
        /// </summary>
        UnGrad,
        /// <summary>
        /// 出师
        /// </summary>
        Grad,
        /// <summary>
        /// 延期毕业
        /// </summary>
        Delay
    }

    public enum StudyTaskStatus
    {
        /// <summary>
        /// 学习中
        /// </summary>
        [Description("学习中")]
        Studying = 1,
        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        Complete = 2,
        /// <summary>
        /// 已过期
        /// </summary>
        [Description("已过期")]
        Expired = 3,
        /// <summary>
        /// 待审核
        /// </summary>
        [Description("待审核")]
        Pending = 4,
        /// <summary>
        /// 未批准
        /// </summary>
        [Description("未批准")]
        Reject = 5,
        /// <summary>
        /// 未打分
        /// </summary>
        [Description("未打分")]
        UnScore = 6,

        [Description("待复审")]
        AdminPending = 7,
    }


    public class StudyTaskStatusIf
    {
        public static bool UnComplete(StudyTaskStatus studyTaskStatus)
        {
            return studyTaskStatus == StudyTaskStatus.Expired || studyTaskStatus == StudyTaskStatus.Studying;
        }
    }
}
